package com.mt.roll.wms.params;

import com.mt.roll.core.params.BasePageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @Author weihongyang
 * @Date 2020/12/30 16:03
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "物料属性查询参数", description = "用于查询物料属性信息")
public class MaterialAttrQueryParam extends BasePageParam {
    /**
     * 物料ID
     */
    @ApiModelProperty(value = "物料ID", example = "1")
    @NotNull(message = "物料ID不能为空")
    private Long materialId;
}
